home *** CD-ROM | disk | FTP | other *** search
- Path: mn5.swip.net!usenet
- From: roland.bengtsson@mbox3.swipnet.se (Roland Bengtsson)
- Newsgroups: comp.sys.amiga.programmer
- Subject: stringgadgets
- Date: 20 Jan 1996 20:20:50 GMT
- Organization: -
- Message-ID: <1610.6593T1254T1564@mbox3.swipnet.se>
- NNTP-Posting-Host: dialup103-073.swipnet.se
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- I have a displayproblem with stringgadgets.
-
- I have 2 gadgetslists, 1 is GadTools and 1 is the old Intuition-type.
- The reason I use the old type is mainly that I want to get rid of the Gadgetborder.
-
- But I have to run 1 redrawing for each gadgetlist.
- (there's many gadgets in the list).
-
- How do I add the 2 gadgetlists to 1 and then update it?
-
- /* updatefunction. Not at all fontsensitive! */
-
- void updgads(struct Gadget *gd)
- {
- SetAPen(rp,0);
- RectFill(rp, offx, offy, 639 - MywinWnd->BorderRight, 255 - MywinWnd->BorderBottom);
- AddGList(MywinWnd,gd,~0,~0,NULL);
- RefreshWindowFrame(MywinWnd);
- RefreshGList(gd,MywinWnd,NULL,-1);
- GT_RefreshWindow(MywinWnd,NULL);
- }
-
-
- I tried to do AddGlist on each list but this doesn't work well. It was even slower.
- As it is now it looks a bit flashy on a 68000, it's an invoice program that will
- run on another Amiga.
-
- Any help or hint is very appreciated!
-
- --
- \|/
- Thor 2.22 @ @
- +--------------------------oOO-(_)-OOo----------+
- |Amigaowner | |
- |since 1988 | |
- | _ |Fidonet> 2:203/802.6 |
- | _ // | |
- | \X/ |Falkenberg, Westcoast of Sweden |
- |A3000/10MB | |
- |280HD/28.8 |Please write where YOU live! |
- |GVP Spectrum| |
- |AFSPro |Amiga-Programmer in C |
- +------------+----------------------------------+
- AMIGA - Multimedia, Preemptive Multitasking
- Plug'n'Play since 1985.
- PGP-key Available
-
- --
-
-